
TARGET = sample_adev

SRC = sample_adev.c

LOCAL_INCLUDE = -I$(OUT_DIR)/include \
	-I$(FRAMEWORK_DIR)/base/lindutils \
	-I$(FRAMEWORK_DIR)/base/lindmix

LOCAL_LIBRIARY = -lpthread \
	-L$(OUT_DIR)/lib/ \
	-lldutils -lavwrapper -lldmix

all: 
	$(CC) $(SRC) -o $(TARGET) $(LOCAL_LIBRIARY) $(LOCAL_INCLUDE) -g -rdynamic -Wl,--allow-shlib-undefined 
	$(INSTALL) $(TARGET) $(OUT_DIR)/bin/$(TARGET)
	rm -rf $(TARGET) $(OBJFILE)

clean:
	rm -rf $(OUT_DIR)/bin/$(TARGET)
